package org.particlethink.aop.infos;

import org.particlethink.aop.InfoById;
import org.particlethink.mapper.DeliverMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class DeliverInfoById implements InfoById {
    @Autowired
    private DeliverMapper deliverMapper;

    @Override
    public Object getInfoById(Integer id) {
        return deliverMapper.selectByPrimaryKey(id);
    }
}
